package com.bjqg.bjqg01.bjqg.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by bjqg01 on 2018/1/23.
 */

public class NoticeBean implements Parcelable{

    /**
     * ds : [{"RowNumber":"1","ID":"22329","TitleStr":"有新标准添加！","TimeStr":"2018/1/12 14:59:34","ContentStr":"标准名称：通风与空调工程施工质量验收规范;标准编号：GB/T50243-2016;材料名称："},{"RowNumber":"2","ID":"22327","TitleStr":"有新标准添加！","TimeStr":"2018/1/12 14:36:07","ContentStr":"标准名称：陶瓷墙地砖填缝剂;标准编号：JC/T1004-2017;材料名称："},{"RowNumber":"3","ID":"22325","TitleStr":"有新标准添加！","TimeStr":"2018/1/12 14:12:38","ContentStr":"标准名称：木结构设计规范;标准编号：GB50005-2017;材料名称："},{"RowNumber":"4","ID":"22078","TitleStr":"有新标准添加！","TimeStr":"2018/1/3 13:41:47","ContentStr":"标准名称：ZKHY模塑石墨聚苯乙烯泡沫塑料板;标准编号：Q/12ZKHY001-2017;材料名称："},{"RowNumber":"5","ID":"22048","TitleStr":"有新标准添加！","TimeStr":"2018/1/2 13:37:12","ContentStr":"标准名称：电子式万能试验机;标准编号：GB/T16491-2008;材料名称："},{"RowNumber":"6","ID":"22033","TitleStr":"有新标准添加！","TimeStr":"2017/12/29 15:05:24","ContentStr":"标准名称：钢筋混凝土用钢材试验方法;标准编号：GB/T28900-2012;材料名称："},{"RowNumber":"7","ID":"22031","TitleStr":"有新标准添加！","TimeStr":"2017/12/29 14:20:35","ContentStr":"标准名称：铝合金建筑型材第4部分：喷粉型材;标准编号：GB/T5237.4-2017;材料名称："},{"RowNumber":"8","ID":"22030","TitleStr":"有新标准添加！","TimeStr":"2017/12/29 14:17:56","ContentStr":"标准名称：铝合金建筑型材第1部分：基材;标准编号：GB/T5237.1-2017;材料名称："},{"RowNumber":"9","ID":"22028","TitleStr":"有新标准添加！","TimeStr":"2017/12/29 14:12:53","ContentStr":"标准名称：铝合金建筑型材第3部分：电泳涂漆型材;标准编号：GB/T5237.3-2017;材料名称："},{"RowNumber":"10","ID":"22026","TitleStr":"有新标准添加！","TimeStr":"2017/12/29 14:02:46","ContentStr":"标准名称：冷热水用聚丙烯管道系统第3部分：管件;标准编号：GB/T18742.3-2017;材料名称："},{"RowNumber":"11","ID":"21898","TitleStr":"有新标准添加！","TimeStr":"2017/12/25 14:07:38","ContentStr":"标准名称：门、窗用为增塑聚氯乙烯（PVC-U）型材;标准编号：GB/T8814-2017;材料名称："},{"RowNumber":"12","ID":"21656","TitleStr":"有新标准添加！","TimeStr":"2017/12/14 13:39:15","ContentStr":"标准名称：自保温混凝土复合砌块;标准编号：JG/T407-2013;材料名称："},{"RowNumber":"13","ID":"21353","TitleStr":"有新标准添加！","TimeStr":"2017/12/4 16:23:10","ContentStr":"标准名称：建筑工程饰面砖粘结强度检验标准;标准编号：JGJ/T110-2017;材料名称："},{"RowNumber":"14","ID":"21352","TitleStr":"有新标准添加！","TimeStr":"2017/12/4 16:22:00","ContentStr":"标准名称：白色硅酸盐水泥;标准编号：GB/T2015-2017;材料名称："},{"RowNumber":"15","ID":"21351","TitleStr":"有新标准添加！","TimeStr":"2017/12/4 16:20:41","ContentStr":"标准名称：绝热用玻璃棉及其制品;标准编号：GB/T13350-2017;材料名称："}]
     * PageNum : 1
     */

    private String PageNum;
    private List<DsBean> ds;

    protected NoticeBean(Parcel in) {
        PageNum = in.readString();
    }

    public static final Creator<NoticeBean> CREATOR = new Creator<NoticeBean>() {
        @Override
        public NoticeBean createFromParcel(Parcel in) {
            return new NoticeBean(in);
        }

        @Override
        public NoticeBean[] newArray(int size) {
            return new NoticeBean[size];
        }
    };

    public String getPageNum() {
        return PageNum;
    }

    public void setPageNum(String PageNum) {
        this.PageNum = PageNum;
    }

    public List<DsBean> getDs() {
        return ds;
    }

    public void setDs(List<DsBean> ds) {
        this.ds = ds;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(PageNum);
        dest.writeList(ds);
    }

    public static class DsBean {
        /**
         * RowNumber : 1
         * ID : 22329
         * TitleStr : 有新标准添加！
         * TimeStr : 2018/1/12 14:59:34
         * ContentStr : 标准名称：通风与空调工程施工质量验收规范;标准编号：GB/T50243-2016;材料名称：
         */

        private String RowNumber;
        private String ID;
        private String TitleStr;
        private String TimeStr;
        private String ContentStr;

        public String getRowNumber() {
            return RowNumber;
        }

        public void setRowNumber(String RowNumber) {
            this.RowNumber = RowNumber;
        }

        public String getID() {
            return ID;
        }

        public void setID(String ID) {
            this.ID = ID;
        }

        public String getTitleStr() {
            return TitleStr;
        }

        public void setTitleStr(String TitleStr) {
            this.TitleStr = TitleStr;
        }

        public String getTimeStr() {
            return TimeStr;
        }

        public void setTimeStr(String TimeStr) {
            this.TimeStr = TimeStr;
        }

        public String getContentStr() {
            return ContentStr;
        }

        public void setContentStr(String ContentStr) {
            this.ContentStr = ContentStr;
        }
    }
}
